package com.teng.service;

import java.util.List;

import com.teng.entity.RoleEntity;

public interface RoleCrudService {
	RoleEntity insert(String code,String name,String remark,String creatId)throws Exception;

	List<RoleEntity> list(String id)throws Exception;
	
	RoleEntity check(String id)throws Exception;
	
	void del(String id)throws Exception;
	
	void updata(String id, String code, String name, String remark)throws Exception;
	
	void modifyPassword(String id,String oldPassword,String newPassword)throws Exception;
}
